package br.eck.stage.events;

import br.eck.model.base.effects.TextBasedEffect;
import br.eck.stage.Stage;

public class GameOverEvent extends Event {

    public GameOverEvent(Stage stage) {
        super(stage);
    }

    @Override
    public void execute() {
        TextBasedEffect e = new TextBasedEffect("Game Over", 2000);
        getStage().addEffect(e);
    }
}
